<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>相册图片</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="/Public/admin/i/favicon.png">
    <link rel="apple-touch-icon-precomposed"
          href="/Public/admin/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="stylesheet" href="/Public/admin/css/amazeui.min.css"/>
    <link rel="stylesheet"
          href="/Public/admin/css/amazeui.datatables.min.css"/>
    <link rel="stylesheet" href="/Public/admin/css/app.css">
    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="/Public/admin/js/jquery.js"></script>
    <script src="/Public/admin/js/layer/layer.js"></script>
    <script src="/Public/admin/js/dialog.js"></script>

</head>
<style type="text/css">
    .color {
        color: #FFFFFF;
        text-decoration: none;
        font-weight: bold;
    }

    /*链接设置*/
    .color:visited {
        color: #FFFFFF;
        text-decoration: none;
        font-weight: bold;
    }

    /*访问过的链接设置*/
    .color:hover {
        color: #FFFFFF;
        text-decoration: none;
        font-weight: bold;
    }

    /*鼠标放上的链接设置*/
</style>
<body data-type="widgets">
<script src="/Public/admin/js/theme.js"></script>
<div class="am-g tpl-g">
    <!-- 头部 -->

    <!-- 风格切换 -->
    <div class="tpl-skiner">
        <div class="tpl-skiner-toggle am-icon-cog"></div>
        <div class="tpl-skiner-content">
            <div class="tpl-skiner-content-title">选择主题</div>
            <div class="tpl-skiner-content-bar"><span
                    class="skiner-color skiner-white" data-color="theme-white"></span> <span
                    class="skiner-color skiner-black" data-color="theme-black"></span></div>
        </div>
    </div>
    <!-- 侧边导航栏 -->
    <div class="left-sidebar">
            <!-- 用户信息 -->


            <!-- 菜单 -->
            <ul class="sidebar-nav">
                <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>

                <li class="sidebar-nav-link">
                    <a href="/admin.php?c=index">
                        <i class="am-icon-dashboard sidebar-nav-link-logo"></i> 控制台

                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;" class="sidebar-nav-sub-title">
                        <i class="am-icon-navicon sidebar-nav-link-logo"></i> 文章管理
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=article&a=show">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 写文章
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=article">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文章列表
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="/admin.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 分类列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;"  class="sidebar-nav-sub-title">
                        <i class="am-icon-pencil-square sidebar-nav-link-logo"></i> 随记管理
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_list.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 写随记
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_list.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 随记列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;" class="sidebar-nav-sub-title">
                        <i class="am-icon-photo sidebar-nav-link-logo"></i> 相册管理
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=photo&a=show">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 创建相册
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=photo&a=index">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 相册列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;" class="sidebar-nav-sub-title">
                        <i class="am-icon-photo sidebar-nav-link-logo"></i> 图片管理
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=photo?a=image">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 上传图片
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=photo?a=image">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文章图片
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=photo?a=image">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 相册图片
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="/admin.php?c=photo&a=image">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 所有图片
                            </a>
                        </li>

                    </ul>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;" class="sidebar-nav-sub-title">
                        <i class="am-icon-comments sidebar-nav-link-logo"></i> 留言管理
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_list.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 留言板
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_list.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文章留言
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;" class="sidebar-nav-sub-title">
                        <i class="am-icon-puzzle-piece sidebar-nav-link-logo"></i> 更多功能
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="/admin/more/fun_list.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 功能列表
                            </a>
                        </li>

                        <li class="sidebar-nav-link">
                            <a href="/admin/more/fun_email.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 邮箱功能
                            </a>
                        </li>

                        <li class="sidebar-nav-link">
                            <a href="/admin/more/fun_friend.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 友链功能
                            </a>
                        </li>

                        <li class="sidebar-nav-link">
                            <a href="/admin/more/fun_visit.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 访问查看
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;" class="sidebar-nav-sub-title">
                        <i class="am-icon-user sidebar-nav-link-logo"></i> 用户管理
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_release.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 用户信息
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_release.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 增加用户
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_list.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 用户列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="sidebar-nav-link">
                    <a href="javascript:;" class="sidebar-nav-sub-title">
                        <i class="am-icon-gear sidebar-nav-link-logo"></i> 博客设置
                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_release.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 主页信息
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_release.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 常规设置
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_release.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 编写方式
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_release.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 阅读设置
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_list.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 留言设置
                            </a>
                        </li>
                        <li class="sidebar-nav-link">
                            <a href="../admin/article/article_release.php">
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 素材设置
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>

    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">
        <div class="row-content am-cf">
            <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                    <div class="widget am-cf">
                        <div class="widget-head am-cf">
                            <div class="widget-title  am-cf">相册列表</div>


                        </div>
                        <div class="widget-body  am-fr">

                            <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                <div class="am-form-group">
                                    <div class="am-btn-toolbar">
                                        <div class="am-btn-group am-btn-group-xs">
                                            <script type="text/javascript">
                                                //                                                function release() {
                                                //                                                    location.href = "article_release.php?a_id=0";
                                                //                                                }
                                                function delete_php(a_id) {
                                                    result = confirm("是否确认删除！！！");
                                                    if (result == true) {
//                                                        alert(a_id);
//                                                        location.href = "/admin.php?c=article&a=delete&a_id=" + a_id;
                                                        var url = "/admin.php?c=article&a=delete";
                                                        var data = {'a_id': a_id};
                                                        //执行异步请求 $.post
                                                        $.post(url, data, function (result) {
                                                            if (result.status == 0) {
                                                                return dialog.error(result.message);
                                                            } else if (result.status == 1) {
                                                                return dialog.success(result.message, '/admin.php?c=article')
                                                            }
                                                        }, 'JSON');
                                                    }

                                                }
                                            </script>
                                            <button type="button" class="am-btn am-btn-default am-btn-success"
                                                    onclick="location.href='/admin.php?c=article&a=show';"><a
                                                    href="/admin.php?c=article&a=show" class="color"><span
                                                    class="am-icon-plus"></span>
                                                新增</a>
                                            </button>
                                            &nbsp;
                                            <button type="button" class="am-btn am-btn-default am-btn-primary"
                                                    onclick="location.href='/admin.php?c=article&a=show';"><a
                                                    href="/admin.php?c=article" class="color"><span
                                                    class="am-icon-list-ul"></span>
                                                全部</a>
                                            </button>
                                            &nbsp;
                                            <button type="button" class="am-btn am-btn-default am-btn-warning"
                                                    onclick="location.href='/admin.php?c=article&a=show';"><a
                                                    href="/admin.php?c=article&a=article&a=index&a_state=1"
                                                    class="color"><span
                                                    class="am-icon-check-square"></span>
                                                发布</a>
                                            </button>
                                            &nbsp;
                                            <button type="button" class="am-btn am-btn-default am-btn-secondary"
                                                    onclick="location.href='/admin.php?c=article&a=show';"><a
                                                    href="/admin.php?c=article&a=article&a=index&a_state=2"
                                                    class="color"><span
                                                    class="am-icon-gavel"></span>
                                                置顶</a>
                                            </button>
                                            &nbsp;
                                            <button type="button" class="am-btn am-btn-default am-btn-danger"
                                                    onclick="location.href='/admin.php?c=article&a=show';"><a
                                                    href="/admin.php?c=article&a=article&a=index&a_state=3"
                                                    class="color"><span
                                                    class="am-icon-trash-o"></span>
                                                回收站</a>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                                <div class="am-form-group tpl-table-list-select">
                                    <select
                                            data-am-selected="{btnSize: 'sm'}"
                                            onchange="self.location.href=options[selectedIndex].value">
                                        <option value="option1">所有类别</option>
                                        <?php if(is_array($type_list)): $i = 0; $__LIST__ = $type_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$type): $mod = ($i % 2 );++$i;?><option value="/admin.php?c=article&a=index&a_type=<?php echo ($type); ?>"><?php echo ($type); ?>
                                            </option><?php endforeach; endif; else: echo "" ;endif; ?>
                                    </select></div>
                            </div>
                            <form method="post" action="/admin.php?c=article&a=index">
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                                    <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">

                                        <input type="text" name="select" value="<?php echo ($select); ?>" class="am-form-field "> <span
                                            class="am-input-group-btn">
                                    <button
                                            class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"
                                            type="submit">
                                    </button>

                            </span></div>
                                </div>
                            </form>


                            <ul data-am-widget="gallery" class="am-gallery am-avg-sm-2
  am-avg-                           md-3 am-avg-lg-4 am-gallery-default" data-am-gallery="{ pureview: true }">


                                <li>
                                    <div class="am-gallery-item">
                                        <a href="http://s.amazeui.org/media/i/demos/bing-3.jpg" class="">
                                            <img src="http://s.amazeui.org/media/i/demos/bing-3.jpg"
                                                 alt="不要太担心 只因为我相信"/>
                                        </a>
                                        <div class="am-text-middle">2375-09-26</div>
                                    </div>
                                </li>


                            </ul>
                            <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a href="javascript:;" onClick="datadel()" class="btn btn-danger radius"><i class="icon-trash"></i> 批量删除</a> <a href="javascript:;" onClick="user_add('550','','添加科目','subject-add.html')" class="btn btn-primary radius"><i class="icon-plus"></i> 添加科目</a></span> <span class="r">共有数据：<strong>88</strong> 条</span> </div>


                            <div class="am-u-lg-12 am-cf">

                                <div class="am-fr">
                                    <ul class="am-pagination tpl-pagination">
                                        <?php if(is_array($page_list)): $i = 0; $__LIST__ = $page_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$page): $mod = ($i % 2 );++$i;?><li class="<?php echo ($page["class"]); ?>"><a href="<?php echo ($page["href"]); ?>"><?php echo ($page["num"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>

                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="http://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
<script src="/Public/admin/js/app.js"></script>
<script type="text/javascript" src="/Public/admin/js/jquery2.min.js"></script>
<script type="text/javascript" src="/Public/admin/js/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="/Public/admin/js/H-ui.js"></script>
<script type="text/javascript" src="/Public/admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="/Public/admin/js/layer/layer.min.js"></script>
<script type="text/javascript" src="/Public/admin/js/pagenav.cn.js"></script>

<script type="text/javascript" src="/Public/admin/js/jquery.dataTables.min.js"></script>
<script type="text/javascript">
    $(".Huiform").Validform();
</script>

</body>

</html>